<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>src._run</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="src-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >ttrq4fleet - Petrina Papazek</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="src-module.html">Package&nbsp;src</a> ::
        Module&nbsp;_run
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="src._run-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="src._run-module.html">Module src._run</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-docstring">Created on Aug 13, 2012</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-docstring">This script starts the application, and links/fills all relevant objects.</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-docstring">@author: petrina</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-docstring">'''</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package src.error=src.error-module.html"><a title="src.error" class="py-name" href="#" onclick="return doclink('link-0', 'error', 'link-0');">error</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Module src.error.log_manager=src.error.log_manager-module.html"><a title="src.error.log_manager" class="py-name" href="#" onclick="return doclink('link-1', 'log_manager', 'link-1');">log_manager</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name" targets="Package src.configuration=src.configuration-module.html"><a title="src.configuration" class="py-name" href="#" onclick="return doclink('link-2', 'configuration', 'link-2');">configuration</a></tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Module src.configuration.config=src.configuration.config-module.html"><a title="src.configuration.config" class="py-name" href="#" onclick="return doclink('link-3', 'config', 'link-3');">config</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="src.configuration" class="py-name" href="#" onclick="return doclink('link-4', 'configuration', 'link-2');">configuration</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Module src.configuration.default_config=src.configuration.default_config-module.html"><a title="src.configuration.default_config" class="py-name" href="#" onclick="return doclink('link-5', 'default_config', 'link-5');">default_config</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-6" class="py-name" targets="Package src.input=src.input-module.html"><a title="src.input" class="py-name" href="#" onclick="return doclink('link-6', 'input', 'link-6');">input</a></tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Module src.input.input_process=src.input.input_process-module.html"><a title="src.input.input_process" class="py-name" href="#" onclick="return doclink('link-7', 'input_process', 'link-7');">input_process</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-8" class="py-name" targets="Package src.processing=src.processing-module.html"><a title="src.processing" class="py-name" href="#" onclick="return doclink('link-8', 'processing', 'link-8');">processing</a></tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Module src.processing.link_processor=src.processing.link_processor-module.html"><a title="src.processing.link_processor" class="py-name" href="#" onclick="return doclink('link-9', 'link_processor', 'link-9');">link_processor</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-10" class="py-name"><a title="src.processing" class="py-name" href="#" onclick="return doclink('link-10', 'processing', 'link-8');">processing</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Module src.processing.network_processor=src.processing.network_processor-module.html"><a title="src.processing.network_processor" class="py-name" href="#" onclick="return doclink('link-11', 'network_processor', 'link-11');">network_processor</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-12" class="py-name" targets="Package src.output=src.output-module.html"><a title="src.output" class="py-name" href="#" onclick="return doclink('link-12', 'output', 'link-12');">output</a></tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Module src.output.link_outputmanager=src.output.link_outputmanager-module.html"><a title="src.output.link_outputmanager" class="py-name" href="#" onclick="return doclink('link-13', 'link_outputmanager', 'link-13');">link_outputmanager</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-14" class="py-name"><a title="src.output" class="py-name" href="#" onclick="return doclink('link-14', 'output', 'link-12');">output</a></tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Module src.output.network_outputmanager=src.output.network_outputmanager-module.html"><a title="src.output.network_outputmanager" class="py-name" href="#" onclick="return doclink('link-15', 'network_outputmanager', 'link-15');">network_outputmanager</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-comment"># Store current working directory</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt id="link-16" class="py-name" targets="Variable src._run.pwd=src._run-module.html#pwd"><a title="src._run.pwd" class="py-name" href="#" onclick="return doclink('link-16', 'pwd', 'link-16');">pwd</a></tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Variable src.output.export.Export.path=src.output.export.Export-class.html#path"><a title="src.output.export.Export.path" class="py-name" href="#" onclick="return doclink('link-17', 'path', 'link-17');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">dirname</tt><tt class="py-op">(</tt><tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="src.output.export.Export.path" class="py-name" href="#" onclick="return doclink('link-18', 'path', 'link-17');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">realpath</tt><tt class="py-op">(</tt><tt class="py-name">__file__</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-comment"># Append current directory to the python path</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="src.output.export.Export.path" class="py-name" href="#" onclick="return doclink('link-19', 'path', 'link-17');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt id="link-20" class="py-name"><a title="src._run.pwd" class="py-name" href="#" onclick="return doclink('link-20', 'pwd', 'link-16');">pwd</a></tt><tt class="py-op">)</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt class="py-comment"># get path for the configfile, loglevel and logfile from the process' parameters</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-comment"># take given arguments passed while starting the process otherwise use the following default-values:</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt id="link-21" class="py-name" targets="Variable src._run.cfgfile=src._run-module.html#cfgfile"><a title="src._run.cfgfile" class="py-name" href="#" onclick="return doclink('link-21', 'cfgfile', 'link-21');">cfgfile</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'configuration/testconfig.ini'</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"><tt id="link-22" class="py-name" targets="Variable src._run.logfile=src._run-module.html#logfile"><a title="src._run.logfile" class="py-name" href="#" onclick="return doclink('link-22', 'logfile', 'link-22');">logfile</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"><tt id="link-23" class="py-name" targets="Variable src._run.loglevel=src._run-module.html#loglevel"><a title="src._run.loglevel" class="py-name" href="#" onclick="return doclink('link-23', 'loglevel', 'link-23');">loglevel</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"><tt class="py-comment"># First passed parameter: Configuration file path</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">)</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">    <tt id="link-24" class="py-name"><a title="src._run.cfgfile" class="py-name" href="#" onclick="return doclink('link-24', 'cfgfile', 'link-21');">cfgfile</a></tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line"> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"><tt class="py-comment"># Second passed parameter: loglevel as integer value</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">)</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">2</tt><tt class="py-op">:</tt>  </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">    <tt class="py-comment"># posible log levels (CRITICAL=50, ERROR=40, WARNING=30, INFO=20, DEBUG=10, not set = 0)</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">    <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">        <tt id="link-25" class="py-name"><a title="src._run.loglevel" class="py-name" href="#" onclick="return doclink('link-25', 'loglevel', 'link-23');">loglevel</a></tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">    <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">        <tt class="py-comment"># no numeric value given - use standard log level</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">        <tt class="py-keyword">print</tt> <tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-string">" is an invalid loglevel! Using standard loglevel instead"</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"><tt class="py-comment"># Third passed parameter: file path for the logfile</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line"><tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">)</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">3</tt><tt class="py-op">:</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">    <tt id="link-26" class="py-name"><a title="src._run.logfile" class="py-name" href="#" onclick="return doclink('link-26', 'logfile', 'link-22');">logfile</a></tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">argv</tt><tt class="py-op">[</tt><tt class="py-number">3</tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">     </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"><tt class="py-comment"># init logging    </tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"><tt id="link-27" class="py-name" targets="Class src.error.log_manager.Log_manager=src.error.log_manager.Log_manager-class.html"><a title="src.error.log_manager.Log_manager" class="py-name" href="#" onclick="return doclink('link-27', 'Log_manager', 'link-27');">Log_manager</a></tt><tt class="py-op">(</tt><tt id="link-28" class="py-name"><a title="src._run.loglevel" class="py-name" href="#" onclick="return doclink('link-28', 'loglevel', 'link-23');">loglevel</a></tt><tt class="py-op">,</tt> <tt id="link-29" class="py-name"><a title="src._run.logfile" class="py-name" href="#" onclick="return doclink('link-29', 'logfile', 'link-22');">logfile</a></tt><tt class="py-op">)</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">     </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line"><tt class="py-comment"># get the user's configuration or default</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"><tt id="link-30" class="py-name" targets="Variable src._run.myconfparser=src._run-module.html#myconfparser"><a title="src._run.myconfparser" class="py-name" href="#" onclick="return doclink('link-30', 'myconfparser', 'link-30');">myconfparser</a></tt> <tt class="py-op">=</tt> <tt id="link-31" class="py-name" targets="Class src.configuration.config.Config=src.configuration.config.Config-class.html"><a title="src.configuration.config.Config" class="py-name" href="#" onclick="return doclink('link-31', 'Config', 'link-31');">Config</a></tt><tt class="py-op">(</tt><tt id="link-32" class="py-name"><a title="src._run.cfgfile" class="py-name" href="#" onclick="return doclink('link-32', 'cfgfile', 'link-21');">cfgfile</a></tt><tt class="py-op">)</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"><tt id="link-33" class="py-name" targets="Variable src._run.conf=src._run-module.html#conf"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-33', 'conf', 'link-33');">conf</a></tt> <tt class="py-op">=</tt> <tt id="link-34" class="py-name"><a title="src._run.myconfparser" class="py-name" href="#" onclick="return doclink('link-34', 'myconfparser', 'link-30');">myconfparser</a></tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Variable src.configuration.config.Config.userconf=src.configuration.config.Config-class.html#userconf"><a title="src.configuration.config.Config.userconf" class="py-name" href="#" onclick="return doclink('link-35', 'userconf', 'link-35');">userconf</a></tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line"> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"><tt class="py-comment"># parse input from the database</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line"><tt id="link-36" class="py-name" targets="Variable src._run.myinput=src._run-module.html#myinput"><a title="src._run.myinput" class="py-name" href="#" onclick="return doclink('link-36', 'myinput', 'link-36');">myinput</a></tt> <tt class="py-op">=</tt> <tt id="link-37" class="py-name" targets="Class src.input.input_process.Input_process=src.input.input_process.Input_process-class.html"><a title="src.input.input_process.Input_process" class="py-name" href="#" onclick="return doclink('link-37', 'Input_process', 'link-37');">Input_process</a></tt><tt class="py-op">(</tt><tt id="link-38" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-38', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Variable src.configuration.default_config.Default_config.fleettable=src.configuration.default_config.Default_config-class.html#fleettable"><a title="src.configuration.default_config.Default_config.fleettable" class="py-name" href="#" onclick="return doclink('link-39', 'fleettable', 'link-39');">fleettable</a></tt><tt class="py-op">,</tt> <tt id="link-40" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-40', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Variable src.configuration.default_config.Default_config.linktable=src.configuration.default_config.Default_config-class.html#linktable"><a title="src.configuration.default_config.Default_config.linktable" class="py-name" href="#" onclick="return doclink('link-41', 'linktable', 'link-41');">linktable</a></tt><tt class="py-op">,</tt> <tt id="link-42" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-42', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-43" class="py-name" targets="Variable src.configuration.default_config.Default_config.links=src.configuration.default_config.Default_config-class.html#links"><a title="src.configuration.default_config.Default_config.links" class="py-name" href="#" onclick="return doclink('link-43', 'links', 'link-43');">links</a></tt><tt class="py-op">,</tt>  </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">                        <tt id="link-44" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-44', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-45" class="py-name" targets="Variable src.configuration.default_config.Default_config.begintime=src.configuration.default_config.Default_config-class.html#begintime,Variable src.datastructure.interval_list.Interval_list.begintime=src.datastructure.interval_list.Interval_list-class.html#begintime,Variable src.datastructure.record_list.Record_list.begintime=src.datastructure.record_list.Record_list-class.html#begintime,Variable src.input.import_agg_FLEET.Import_agg_FLEET.begintime=src.input.import_agg_FLEET.Import_agg_FLEET-class.html#begintime"><a title="src.configuration.default_config.Default_config.begintime
src.datastructure.interval_list.Interval_list.begintime
src.datastructure.record_list.Record_list.begintime
src.input.import_agg_FLEET.Import_agg_FLEET.begintime" class="py-name" href="#" onclick="return doclink('link-45', 'begintime', 'link-45');">begintime</a></tt><tt class="py-op">,</tt> <tt id="link-46" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-46', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-47" class="py-name" targets="Variable src.configuration.default_config.Default_config.endtime=src.configuration.default_config.Default_config-class.html#endtime,Variable src.datastructure.interval_list.Interval_list.endtime=src.datastructure.interval_list.Interval_list-class.html#endtime,Variable src.datastructure.record_list.Record_list.endtime=src.datastructure.record_list.Record_list-class.html#endtime,Variable src.input.import_agg_FLEET.Import_agg_FLEET.endtime=src.input.import_agg_FLEET.Import_agg_FLEET-class.html#endtime"><a title="src.configuration.default_config.Default_config.endtime
src.datastructure.interval_list.Interval_list.endtime
src.datastructure.record_list.Record_list.endtime
src.input.import_agg_FLEET.Import_agg_FLEET.endtime" class="py-name" href="#" onclick="return doclink('link-47', 'endtime', 'link-47');">endtime</a></tt><tt class="py-op">,</tt>  </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">                        <tt id="link-48" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-48', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-49" class="py-name" targets="Variable src.configuration.default_config.Default_config.databasename=src.configuration.default_config.Default_config-class.html#databasename,Variable src.input.db_params.DB_params.databasename=src.input.db_params.DB_params-class.html#databasename"><a title="src.configuration.default_config.Default_config.databasename
src.input.db_params.DB_params.databasename" class="py-name" href="#" onclick="return doclink('link-49', 'databasename', 'link-49');">databasename</a></tt><tt class="py-op">,</tt><tt id="link-50" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-50', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-51" class="py-name" targets="Variable src.configuration.default_config.Default_config.username=src.configuration.default_config.Default_config-class.html#username,Variable src.input.db_params.DB_params.username=src.input.db_params.DB_params-class.html#username"><a title="src.configuration.default_config.Default_config.username
src.input.db_params.DB_params.username" class="py-name" href="#" onclick="return doclink('link-51', 'username', 'link-51');">username</a></tt><tt class="py-op">,</tt> <tt id="link-52" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-52', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-53" class="py-name" targets="Variable src.configuration.default_config.Default_config.password=src.configuration.default_config.Default_config-class.html#password,Variable src.input.db_params.DB_params.password=src.input.db_params.DB_params-class.html#password"><a title="src.configuration.default_config.Default_config.password
src.input.db_params.DB_params.password" class="py-name" href="#" onclick="return doclink('link-53', 'password', 'link-53');">password</a></tt><tt class="py-op">,</tt>  </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">                        <tt id="link-54" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-54', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-55" class="py-name" targets="Variable src.configuration.default_config.Default_config.schema=src.configuration.default_config.Default_config-class.html#schema,Variable src.input.db_params.DB_params.schema=src.input.db_params.DB_params-class.html#schema"><a title="src.configuration.default_config.Default_config.schema
src.input.db_params.DB_params.schema" class="py-name" href="#" onclick="return doclink('link-55', 'schema', 'link-55');">schema</a></tt><tt class="py-op">,</tt> <tt id="link-56" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-56', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-57" class="py-name" targets="Variable src.configuration.default_config.Default_config.databaseserver=src.configuration.default_config.Default_config-class.html#databaseserver"><a title="src.configuration.default_config.Default_config.databaseserver" class="py-name" href="#" onclick="return doclink('link-57', 'databaseserver', 'link-57');">databaseserver</a></tt><tt class="py-op">,</tt> <tt id="link-58" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-58', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-59" class="py-name" targets="Variable src.configuration.default_config.Default_config.ffspeed_table=src.configuration.default_config.Default_config-class.html#ffspeed_table"><a title="src.configuration.default_config.Default_config.ffspeed_table" class="py-name" href="#" onclick="return doclink('link-59', 'ffspeed_table', 'link-59');">ffspeed_table</a></tt><tt class="py-op">,</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">                        <tt id="link-60" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-60', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-61" class="py-name" targets="Variable src.configuration.default_config.Default_config.ref_uname=src.configuration.default_config.Default_config-class.html#ref_uname"><a title="src.configuration.default_config.Default_config.ref_uname" class="py-name" href="#" onclick="return doclink('link-61', 'ref_uname', 'link-61');">ref_uname</a></tt><tt class="py-op">,</tt> <tt id="link-62" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-62', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-63" class="py-name" targets="Variable src.configuration.default_config.Default_config.ref_password=src.configuration.default_config.Default_config-class.html#ref_password"><a title="src.configuration.default_config.Default_config.ref_password" class="py-name" href="#" onclick="return doclink('link-63', 'ref_password', 'link-63');">ref_password</a></tt><tt class="py-op">,</tt> <tt id="link-64" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-64', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-65" class="py-name" targets="Variable src.configuration.default_config.Default_config.ref_dbname=src.configuration.default_config.Default_config-class.html#ref_dbname"><a title="src.configuration.default_config.Default_config.ref_dbname" class="py-name" href="#" onclick="return doclink('link-65', 'ref_dbname', 'link-65');">ref_dbname</a></tt><tt class="py-op">,</tt> <tt id="link-66" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-66', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-67" class="py-name" targets="Variable src.configuration.default_config.Default_config.ref_schema=src.configuration.default_config.Default_config-class.html#ref_schema"><a title="src.configuration.default_config.Default_config.ref_schema" class="py-name" href="#" onclick="return doclink('link-67', 'ref_schema', 'link-67');">ref_schema</a></tt><tt class="py-op">,</tt>  </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">                        <tt id="link-68" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-68', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-69" class="py-name" targets="Variable src.configuration.default_config.Default_config.ref_host=src.configuration.default_config.Default_config-class.html#ref_host"><a title="src.configuration.default_config.Default_config.ref_host" class="py-name" href="#" onclick="return doclink('link-69', 'ref_host', 'link-69');">ref_host</a></tt><tt class="py-op">,</tt> <tt id="link-70" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-70', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-71" class="py-name" targets="Variable src.configuration.default_config.Default_config.timeseriestable=src.configuration.default_config.Default_config-class.html#timeseriestable"><a title="src.configuration.default_config.Default_config.timeseriestable" class="py-name" href="#" onclick="return doclink('link-71', 'timeseriestable', 'link-71');">timeseriestable</a></tt><tt class="py-op">,</tt> <tt id="link-72" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-72', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-73" class="py-name" targets="Variable src.configuration.default_config.Default_config.ts_date=src.configuration.default_config.Default_config-class.html#ts_date"><a title="src.configuration.default_config.Default_config.ts_date" class="py-name" href="#" onclick="return doclink('link-73', 'ts_date', 'link-73');">ts_date</a></tt><tt class="py-op">)</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line"> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"><tt class="py-comment"># the new data is in written to conf.links (which contains link-data and lists for records)</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line"><tt id="link-74" class="py-name"><a title="src._run.myinput" class="py-name" href="#" onclick="return doclink('link-74', 'myinput', 'link-36');">myinput</a></tt><tt class="py-op">.</tt><tt id="link-75" class="py-name" targets="Module src.input.import_links=src.input.import_links-module.html,Method src.input.input_process.Input_process.import_links()=src.input.input_process.Input_process-class.html#import_links"><a title="src.input.import_links
src.input.input_process.Input_process.import_links" class="py-name" href="#" onclick="return doclink('link-75', 'import_links', 'link-75');">import_links</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line"><tt id="link-76" class="py-name"><a title="src._run.myinput" class="py-name" href="#" onclick="return doclink('link-76', 'myinput', 'link-36');">myinput</a></tt><tt class="py-op">.</tt><tt id="link-77" class="py-name" targets="Method src.input.input_process.Input_process.import_records()=src.input.input_process.Input_process-class.html#import_records"><a title="src.input.input_process.Input_process.import_records" class="py-name" href="#" onclick="return doclink('link-77', 'import_records', 'link-77');">import_records</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line"><tt id="link-78" class="py-name"><a title="src._run.myinput" class="py-name" href="#" onclick="return doclink('link-78', 'myinput', 'link-36');">myinput</a></tt><tt class="py-op">.</tt><tt id="link-79" class="py-name" targets="Module src.input.import_timeseries=src.input.import_timeseries-module.html,Method src.input.input_process.Input_process.import_timeseries()=src.input.input_process.Input_process-class.html#import_timeseries"><a title="src.input.import_timeseries
src.input.input_process.Input_process.import_timeseries" class="py-name" href="#" onclick="return doclink('link-79', 'import_timeseries', 'link-79');">import_timeseries</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line"><tt id="link-80" class="py-name"><a title="src._run.myinput" class="py-name" href="#" onclick="return doclink('link-80', 'myinput', 'link-36');">myinput</a></tt><tt class="py-op">.</tt><tt id="link-81" class="py-name" targets="Method src.input.input_process.Input_process.import_reference()=src.input.input_process.Input_process-class.html#import_reference"><a title="src.input.input_process.Input_process.import_reference" class="py-name" href="#" onclick="return doclink('link-81', 'import_reference', 'link-81');">import_reference</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"><tt class="py-comment"># aggregate data if necessary</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"><tt class="py-keyword">if</tt> <tt id="link-82" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-82', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-83" class="py-name" targets="Variable src.configuration.default_config.Default_config.agg=src.configuration.default_config.Default_config-class.html#agg"><a title="src.configuration.default_config.Default_config.agg" class="py-name" href="#" onclick="return doclink('link-83', 'agg', 'link-83');">agg</a></tt><tt class="py-op">:</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">    <tt id="link-84" class="py-name"><a title="src._run.myinput" class="py-name" href="#" onclick="return doclink('link-84', 'myinput', 'link-36');">myinput</a></tt><tt class="py-op">.</tt><tt id="link-85" class="py-name" targets="Method src.input.input_process.Input_process.aggregate()=src.input.input_process.Input_process-class.html#aggregate"><a title="src.input.input_process.Input_process.aggregate" class="py-name" href="#" onclick="return doclink('link-85', 'aggregate', 'link-85');">aggregate</a></tt><tt class="py-op">(</tt><tt id="link-86" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-86', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-87" class="py-name" targets="Variable src.configuration.default_config.Default_config.min_int=src.configuration.default_config.Default_config-class.html#min_int"><a title="src.configuration.default_config.Default_config.min_int" class="py-name" href="#" onclick="return doclink('link-87', 'min_int', 'link-87');">min_int</a></tt><tt class="py-op">)</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line"> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line"><tt class="py-comment"># process and output for each single link ("link-indicators")</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line"><tt class="py-keyword">for</tt> <tt id="link-88" class="py-name" targets="Variable src.datastructure.agg_record.Agg_record.link=src.datastructure.agg_record.Agg_record-class.html#link,Module src.datastructure.link=src.datastructure.link-module.html,Variable src.datastructure.result.Result.link=src.datastructure.result.Result-class.html#link"><a title="src.datastructure.agg_record.Agg_record.link
src.datastructure.link
src.datastructure.result.Result.link" class="py-name" href="#" onclick="return doclink('link-88', 'link', 'link-88');">link</a></tt> <tt class="py-keyword">in</tt> <tt id="link-89" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-89', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-90" class="py-name"><a title="src.configuration.default_config.Default_config.links" class="py-name" href="#" onclick="return doclink('link-90', 'links', 'link-43');">links</a></tt><tt class="py-op">:</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">    <tt class="py-comment"># calculate indicators</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">    <tt id="link-91" class="py-name" targets="Variable src._run.myprocessor=src._run-module.html#myprocessor"><a title="src._run.myprocessor" class="py-name" href="#" onclick="return doclink('link-91', 'myprocessor', 'link-91');">myprocessor</a></tt> <tt class="py-op">=</tt> <tt id="link-92" class="py-name" targets="Class src.processing.link_processor.Link_processor=src.processing.link_processor.Link_processor-class.html"><a title="src.processing.link_processor.Link_processor" class="py-name" href="#" onclick="return doclink('link-92', 'Link_processor', 'link-92');">Link_processor</a></tt><tt class="py-op">(</tt><tt id="link-93" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-93', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-94" class="py-name" targets="Variable src.configuration.default_config.Default_config.link_indicators=src.configuration.default_config.Default_config-class.html#link_indicators"><a title="src.configuration.default_config.Default_config.link_indicators" class="py-name" href="#" onclick="return doclink('link-94', 'link_indicators', 'link-94');">link_indicators</a></tt><tt class="py-op">,</tt> <tt id="link-95" class="py-name"><a title="src.datastructure.agg_record.Agg_record.link
src.datastructure.link
src.datastructure.result.Result.link" class="py-name" href="#" onclick="return doclink('link-95', 'link', 'link-88');">link</a></tt><tt class="py-op">)</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">    <tt id="link-96" class="py-name" targets="Variable src._run.indicatorset=src._run-module.html#indicatorset,Module src.processing.indicatorset=src.processing.indicatorset-module.html"><a title="src._run.indicatorset
src.processing.indicatorset" class="py-name" href="#" onclick="return doclink('link-96', 'indicatorset', 'link-96');">indicatorset</a></tt> <tt class="py-op">=</tt> <tt id="link-97" class="py-name"><a title="src._run.myprocessor" class="py-name" href="#" onclick="return doclink('link-97', 'myprocessor', 'link-91');">myprocessor</a></tt><tt class="py-op">.</tt><tt id="link-98" class="py-name" targets="Method src.processing.processor.Processor.calculate_indicators()=src.processing.processor.Processor-class.html#calculate_indicators"><a title="src.processing.processor.Processor.calculate_indicators" class="py-name" href="#" onclick="return doclink('link-98', 'calculate_indicators', 'link-98');">calculate_indicators</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">     </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">    <tt class="py-comment"># export data</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">    <tt id="link-99" class="py-name" targets="Variable src._run.myoutput=src._run-module.html#myoutput"><a title="src._run.myoutput" class="py-name" href="#" onclick="return doclink('link-99', 'myoutput', 'link-99');">myoutput</a></tt> <tt class="py-op">=</tt> <tt id="link-100" class="py-name" targets="Class src.output.link_outputmanager.Link_output_manager=src.output.link_outputmanager.Link_output_manager-class.html"><a title="src.output.link_outputmanager.Link_output_manager" class="py-name" href="#" onclick="return doclink('link-100', 'Link_output_manager', 'link-100');">Link_output_manager</a></tt><tt class="py-op">(</tt><tt id="link-101" class="py-name"><a title="src._run.indicatorset
src.processing.indicatorset" class="py-name" href="#" onclick="return doclink('link-101', 'indicatorset', 'link-96');">indicatorset</a></tt><tt class="py-op">,</tt> <tt id="link-102" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-102', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-103" class="py-name" targets="Variable src.configuration.default_config.Default_config.plot=src.configuration.default_config.Default_config-class.html#plot,Method src.datastructure.interval_list.Interval_list.plot()=src.datastructure.interval_list.Interval_list-class.html#plot,Method src.datastructure.record_list.Record_list.plot()=src.datastructure.record_list.Record_list-class.html#plot,Module src.output.plot=src.output.plot-module.html,Method src.output.plot.Plot.plot()=src.output.plot.Plot-class.html#plot,Method src.processing.indicator.Indicator.plot()=src.processing.indicator.Indicator-class.html#plot,Method src.processing.planning_speed.Planning_speed.plot()=src.processing.planning_speed.Planning_speed-class.html#plot,Method src.processing.planning_time.Planning_time.plot()=src.processing.planning_time.Planning_time-class.html#plot"><a title="src.configuration.default_config.Default_config.plot
src.datastructure.interval_list.Interval_list.plot
src.datastructure.record_list.Record_list.plot
src.output.plot
src.output.plot.Plot.plot
src.processing.indicator.Indicator.plot
src.processing.planning_speed.Planning_speed.plot
src.processing.planning_time.Planning_time.plot" class="py-name" href="#" onclick="return doclink('link-103', 'plot', 'link-103');">plot</a></tt><tt class="py-op">,</tt> <tt id="link-104" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-104', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-105" class="py-name" targets="Variable src.configuration.default_config.Default_config.csv=src.configuration.default_config.Default_config-class.html#csv"><a title="src.configuration.default_config.Default_config.csv" class="py-name" href="#" onclick="return doclink('link-105', 'csv', 'link-105');">csv</a></tt><tt class="py-op">,</tt> <tt id="link-106" class="py-name"><a title="src.datastructure.agg_record.Agg_record.link
src.datastructure.link
src.datastructure.result.Result.link" class="py-name" href="#" onclick="return doclink('link-106', 'link', 'link-88');">link</a></tt><tt class="py-op">)</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">    <tt id="link-107" class="py-name"><a title="src._run.myoutput" class="py-name" href="#" onclick="return doclink('link-107', 'myoutput', 'link-99');">myoutput</a></tt><tt class="py-op">.</tt><tt id="link-108" class="py-name" targets="Method src.output.outputmanager.Output_manager.export_plot()=src.output.outputmanager.Output_manager-class.html#export_plot"><a title="src.output.outputmanager.Output_manager.export_plot" class="py-name" href="#" onclick="return doclink('link-108', 'export_plot', 'link-108');">export_plot</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">    <tt id="link-109" class="py-name"><a title="src._run.myoutput" class="py-name" href="#" onclick="return doclink('link-109', 'myoutput', 'link-99');">myoutput</a></tt><tt class="py-op">.</tt><tt id="link-110" class="py-name" targets="Method src.output.outputmanager.Output_manager.export_csv()=src.output.outputmanager.Output_manager-class.html#export_csv"><a title="src.output.outputmanager.Output_manager.export_csv" class="py-name" href="#" onclick="return doclink('link-110', 'export_csv', 'link-110');">export_csv</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line"> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"><tt class="py-comment"># process and output for the whole linkset ("network-indicators")</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"><tt id="link-111" class="py-name"><a title="src._run.myprocessor" class="py-name" href="#" onclick="return doclink('link-111', 'myprocessor', 'link-91');">myprocessor</a></tt> <tt class="py-op">=</tt> <tt id="link-112" class="py-name" targets="Class src.processing.network_processor.Network_processor=src.processing.network_processor.Network_processor-class.html"><a title="src.processing.network_processor.Network_processor" class="py-name" href="#" onclick="return doclink('link-112', 'Network_processor', 'link-112');">Network_processor</a></tt><tt class="py-op">(</tt><tt id="link-113" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-113', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-114" class="py-name" targets="Variable src.configuration.default_config.Default_config.network_indicators=src.configuration.default_config.Default_config-class.html#network_indicators"><a title="src.configuration.default_config.Default_config.network_indicators" class="py-name" href="#" onclick="return doclink('link-114', 'network_indicators', 'link-114');">network_indicators</a></tt><tt class="py-op">,</tt> <tt id="link-115" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-115', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-116" class="py-name"><a title="src.configuration.default_config.Default_config.links" class="py-name" href="#" onclick="return doclink('link-116', 'links', 'link-43');">links</a></tt><tt class="py-op">)</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"><tt id="link-117" class="py-name"><a title="src._run.indicatorset
src.processing.indicatorset" class="py-name" href="#" onclick="return doclink('link-117', 'indicatorset', 'link-96');">indicatorset</a></tt> <tt class="py-op">=</tt> <tt id="link-118" class="py-name"><a title="src._run.myprocessor" class="py-name" href="#" onclick="return doclink('link-118', 'myprocessor', 'link-91');">myprocessor</a></tt><tt class="py-op">.</tt><tt id="link-119" class="py-name"><a title="src.processing.processor.Processor.calculate_indicators" class="py-name" href="#" onclick="return doclink('link-119', 'calculate_indicators', 'link-98');">calculate_indicators</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"><tt id="link-120" class="py-name"><a title="src._run.myoutput" class="py-name" href="#" onclick="return doclink('link-120', 'myoutput', 'link-99');">myoutput</a></tt> <tt class="py-op">=</tt> <tt id="link-121" class="py-name" targets="Class src.output.network_outputmanager.Network_output_manager=src.output.network_outputmanager.Network_output_manager-class.html"><a title="src.output.network_outputmanager.Network_output_manager" class="py-name" href="#" onclick="return doclink('link-121', 'Network_output_manager', 'link-121');">Network_output_manager</a></tt><tt class="py-op">(</tt><tt id="link-122" class="py-name"><a title="src._run.indicatorset
src.processing.indicatorset" class="py-name" href="#" onclick="return doclink('link-122', 'indicatorset', 'link-96');">indicatorset</a></tt><tt class="py-op">,</tt> <tt id="link-123" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-123', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-124" class="py-name"><a title="src.configuration.default_config.Default_config.plot
src.datastructure.interval_list.Interval_list.plot
src.datastructure.record_list.Record_list.plot
src.output.plot
src.output.plot.Plot.plot
src.processing.indicator.Indicator.plot
src.processing.planning_speed.Planning_speed.plot
src.processing.planning_time.Planning_time.plot" class="py-name" href="#" onclick="return doclink('link-124', 'plot', 'link-103');">plot</a></tt><tt class="py-op">,</tt> <tt id="link-125" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-125', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-126" class="py-name"><a title="src.configuration.default_config.Default_config.csv" class="py-name" href="#" onclick="return doclink('link-126', 'csv', 'link-105');">csv</a></tt><tt class="py-op">,</tt> <tt id="link-127" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-127', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-128" class="py-name"><a title="src.configuration.default_config.Default_config.links" class="py-name" href="#" onclick="return doclink('link-128', 'links', 'link-43');">links</a></tt><tt class="py-op">)</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"><tt id="link-129" class="py-name"><a title="src._run.myoutput" class="py-name" href="#" onclick="return doclink('link-129', 'myoutput', 'link-99');">myoutput</a></tt><tt class="py-op">.</tt><tt id="link-130" class="py-name"><a title="src.output.outputmanager.Output_manager.export_plot" class="py-name" href="#" onclick="return doclink('link-130', 'export_plot', 'link-108');">export_plot</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"><tt id="link-131" class="py-name"><a title="src._run.myoutput" class="py-name" href="#" onclick="return doclink('link-131', 'myoutput', 'link-99');">myoutput</a></tt><tt class="py-op">.</tt><tt id="link-132" class="py-name"><a title="src.output.outputmanager.Output_manager.export_csv" class="py-name" href="#" onclick="return doclink('link-132', 'export_csv', 'link-110');">export_csv</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line"><tt class="py-comment"># for developing it is nice to see the plots in the pylab-gui</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"><tt class="py-keyword">if</tt> <tt id="link-133" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-133', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-134" class="py-name"><a title="src.configuration.default_config.Default_config.plot
src.datastructure.interval_list.Interval_list.plot
src.datastructure.record_list.Record_list.plot
src.output.plot
src.output.plot.Plot.plot
src.processing.indicator.Indicator.plot
src.processing.planning_speed.Planning_speed.plot
src.processing.planning_time.Planning_time.plot" class="py-name" href="#" onclick="return doclink('link-134', 'plot', 'link-103');">plot</a></tt> <tt class="py-keyword">and</tt> <tt id="link-135" class="py-name"><a title="src._run.conf" class="py-name" href="#" onclick="return doclink('link-135', 'conf', 'link-33');">conf</a></tt><tt class="py-op">.</tt><tt id="link-136" class="py-name" targets="Variable src.configuration.default_config.Default_config.show_pylab=src.configuration.default_config.Default_config-class.html#show_pylab"><a title="src.configuration.default_config.Default_config.show_pylab" class="py-name" href="#" onclick="return doclink('link-136', 'show_pylab', 'link-136');">show_pylab</a></tt><tt class="py-op">:</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">    <tt class="py-name">pylab</tt><tt class="py-op">.</tt><tt class="py-name">show</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"><tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">"Regular end of application (Exit-value: 0)"</tt><tt class="py-op">)</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"><tt class="py-comment"># exit program with 0 (= no errors)</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line"><tt class="py-name">sys</tt><tt class="py-op">.</tt><tt class="py-name">exit</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="src-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >ttrq4fleet - Petrina Papazek</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Oct  8 17:34:02 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
